﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ymca.Entities;

namespace Ymca.Web.Models.Profile
{
	public class IndexViewModel
	{
		public string Id { get; set; }
		public string Email { get; set; }
		public string Name { get; set; }
		public string Surname { get; set; }
		public string Info { get; set; }

		public IndexViewModel(UserProfile profile)
		{
			Id = profile.Id;
			Email = profile.Email;
			Name = profile.Name;
			Surname = profile.Surname;
			Info = profile.Info;
		}
	}
}